package cn.angleline.cloudhub.easbi.eas.entity

import java.sql.Timestamp
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.Table

@Entity
@Table(name = "T_ORG_ADMIN")
data class TOrgAdmin(
        @Id
        @Column(name = "FID")
        val fid: String? = null,

        @Column(name = "FNAME_L1")
        val fnameL1: String? = null,

        @Column(name = "FNAME_L2")
        val fnameL2: String? = null,

        @Column(name = "FNAME_L3")
        val fnameL3: String? = null,

        @Column(name = "FNUMBER")
        val fnumber: String? = null,

        @Column(name = "FDESCRIPTION_L1")
        val fdescriptionL1: String? = null,

        @Column(name = "FDESCRIPTION_L2")
        val fdescriptionL2: String? = null,

        @Column(name = "FDESCRIPTION_L3")
        val fdescriptionL3: String? = null,

        @Column(name = "FSIMPLENAME")
        val fsimplename: String? = null,

        @Column(name = "FISGROUPING")
        val fisgrouping: Int? = null,

        @Column(name = "FEFFECTDATE")
        val feffectdate: Timestamp? = null,

        @Column(name = "FINVALIDDATE")
        val finvaliddate: Timestamp? = null,

        @Column(name = "FISFREEZE")
        val fisfreeze: Int? = null,

        @Column(name = "FISCOMPANYORGUNIT")
        val fiscompanyorgunit: Int? = null,

        @Column(name = "FISADMINORGUNIT")
        val fisadminorgunit: Int? = null,

        @Column(name = "FISSALEORGUNIT")
        val fissaleorgunit: Int? = null,

        @Column(name = "FISPURCHASEORGUNIT")
        val fispurchaseorgunit: Int? = null,

        @Column(name = "FISSTORAGEORGUNIT")
        val fisstorageorgunit: Int? = null,

        @Column(name = "FISPROFITORGUNIT")
        val fisprofitorgunit: Int? = null,

        @Column(name = "FISCOSTORGUNIT")
        val fiscostorgunit: Int? = null,

        @Column(name = "FISCU")
        val fiscu: Int? = null,

        @Column(name = "FISUNION")
        val fisunion: Int? = null,

        @Column(name = "FISHRORGUNIT")
        val fishrorgunit: Int? = null,

        @Column(name = "FCREATORID")
        val fcreatorid: String? = null,

        @Column(name = "FCREATETIME")
        val fcreatetime: Timestamp? = null,

        @Column(name = "FLASTUPDATEUSERID")
        val flastupdateuserid: String? = null,

        @Column(name = "FLASTUPDATETIME")
        val flastupdatetime: Timestamp? = null,

        @Column(name = "FCONTROLUNITID")
        val fcontrolunitid: String? = null,

        @Column(name = "FISLEAF")
        val fisleaf: Int? = null,

        @Column(name = "FLEVEL")
        val flevel: Int? = null,

        @Column(name = "FLONGNUMBER")
        val flongnumber: String? = null,

        @Column(name = "FPARENTID")
        val fparentid: String? = null,

        @Column(name = "FISENTITY")
        val fisentity: Int? = null,

        @Column(name = "FISVIRTUAL")
        val fisvirtual: Int? = null,

        @Column(name = "FPHONENUMBER")
        val fphonenumber: String? = null,

        @Column(name = "FLAYERID")
        val flayerid: String? = null,

        @Column(name = "FRESPONPOSITIONID")
        val fresponpositionid: String? = null,

        @Column(name = "FADDRESSID")
        val faddressid: String? = null,

        @Column(name = "FPRINCIPALID")
        val fprincipalid: String? = null,

        @Column(name = "FLAYERTYPEID")
        val flayertypeid: String? = null,

        @Column(name = "FBASEDUTY_L1")
        val fbasedutyL1: String? = null,

        @Column(name = "FBASEDUTY_L2")
        val fbasedutyL2: String? = null,

        @Column(name = "FBASEDUTY_L3")
        val fbasedutyL3: String? = null,

        @Column(name = "FINDEX")
        val findex: Int? = null,

        @Column(name = "FJOBSYSTEMID")
        val fjobsystemid: String? = null,

        @Column(name = "FADMINADDRESS_L1")
        val fadminaddressL1: String? = null,

        @Column(name = "FADMINADDRESS_L2")
        val fadminaddressL2: String? = null,

        @Column(name = "FADMINADDRESS_L3")
        val fadminaddressL3: String? = null,

        @Column(name = "FZIPCODE")
        val fzipcode: String? = null,

        @Column(name = "FFAX")
        val ffax: String? = null,

        @Column(name = "FISSEALUP")
        val fissealup: Int? = null,

        @Column(name = "FISSTART")
        val fisstart: Int? = null,

        @Column(name = "FISOUSEALUP")
        val fisousealup: Int? = null,

        @Column(name = "FDISPLAYNAME_L1")
        val fdisplaynameL1: String? = null,

        @Column(name = "FDISPLAYNAME_L2")
        val fdisplaynameL2: String? = null,

        @Column(name = "FDISPLAYNAME_L3")
        val fdisplaynameL3: String? = null,

        @Column(name = "FPROPERTYSEALUPDATE")
        val fpropertysealupdate: Timestamp? = null,

        @Column(name = "FVERSIONNUMBER")
        val fversionnumber: String? = null,

        @Column(name = "FCODE")
        val fcode: String? = null,

        @Column(name = "FISTRANSPORTORGUNIT")
        val fistransportorgunit: Int? = null,

        @Column(name = "FISQUALITYORGUNIT")
        val fisqualityorgunit: Int? = null,

        @Column(name = "FSORTCODE")
        val fsortcode: String? = null,

        @Column(name = "FINDUSTRYID")
        val findustryid: String? = null,

        @Column(name = "FECONOMICTYPE")
        val feconomictype: Int? = null,

        @Column(name = "FREGISTEREDCAPITAL")
        val fregisteredcapital: Long? = null,

        @Column(name = "FREGISTEREDCODE")
        val fregisteredcode: String? = null,

        @Column(name = "FSETUPDATE")
        val fsetupdate: Timestamp? = null,

        @Column(name = "FENDUPDATE")
        val fendupdate: Timestamp? = null,

        @Column(name = "FTAXNUMBER")
        val ftaxnumber: String? = null,

        @Column(name = "FISCHURCHYARD")
        val fischurchyard: Int? = null,

        @Column(name = "FJURIDICALPERSONID")
        val fjuridicalpersonid: String? = null,

        @Column(name = "FISJURIDICALCOMPANY")
        val fisjuridicalcompany: Int? = null,

        @Column(name = "FISINDEPENDENCE")
        val fisindependence: Int? = null,

        @Column(name = "FTERRITORY_L1")
        val fterritoryL1: String? = null,

        @Column(name = "FTERRITORY_L2")
        val fterritoryL2: String? = null,

        @Column(name = "FTERRITORY_L3")
        val fterritoryL3: String? = null,

        @Column(name = "FORGCODE")
        val forgcode: String? = null,

        @Column(name = "FAREAID")
        val fareaid: String? = null,

        @Column(name = "FORGPROPERTYID")
        val forgpropertyid: String? = null,

        @Column(name = "FREGISTTYPEID")
        val fregisttypeid: String? = null,

        @Column(name = "FEFFDT")
        val feffdt: Timestamp? = null,

        @Column(name = "FLEFFDT")
        val fleffdt: Timestamp? = null,

        @Column(name = "FHISTORYRELATEID")
        val fhistoryrelateid: String? = null,

        @Column(name = "FDELEGATEHRID")
        val fdelegatehrid: String? = null,

        @Column(name = "FORGFUNCTIONID")
        val forgfunctionid: String? = null,

        @Column(name = "FCOMPANYID")
        val fcompanyid: String? = null,

        @Column(name = "FDEPARTMENTID")
        val fdepartmentid: String? = null,

        @Column(name = "FOFFICEID")
        val fofficeid: String? = null,

        @Column(name = "FLEVELFOURGROUPID")
        val flevelfourgroupid: String? = null,

        @Column(name = "FLEVELFIVEGROUPID")
        val flevelfivegroupid: String? = null,

        @Column(name = "FLEVELFIVEGROUP")
        val flevelfivegroup: String? = null,

        @Column(name = "FLEVELSIXGROUPID")
        val flevelsixgroupid: String? = null,

        @Column(name = "FRESERVEFIELDFIRST")
        val freservefieldfirst: String? = null,

        @Column(name = "FRESERVEFIELDSECOND")
        val freservefieldsecond: String? = null,

        @Column(name = "FRESERVEITEMFIRST")
        val freserveitemfirst: String? = null,

        @Column(name = "FRESERVEITEMSECOND")
        val freserveitemsecond: String? = null,

        @Column(name = "FISSTARTSHR")
        val fisstartshr: Int? = null,

        @Column(name = "FORGTYPESTR")
        val forgtypestr: String? = null
)